package com.punch.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punch.common.vo.course.ClassRoomPageVO;
import com.punch.common.vo.course.SimpleClassRoomVO;
import com.punch.course.model.PunchClassRoom;
import com.punch.course.query.SelectClassRoomQueryInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * ClassRoomMapper-教室信息 服务类
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/21
 */
@Mapper
public interface ClassRoomMapper extends BaseMapper<PunchClassRoom> {

    /**
     * 获取总页数
     *
     * @param params 参数
     * @return 页数
     */
    Integer queryCount(Map<String, Object> params);

    /**
     * 获取list
     *
     * @param params 参数
     * @return List<ClassPageVO>
     */
    List<ClassRoomPageVO> queryList(Map<String, Object> params);
}
